﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Xml.Serialization;

namespace TMS.ServiceProvider.CapitalTransportationSolutions.ShipRite
{
    [XmlRoot("Rates")]
    public class RatesList : ShipRiteBase
    {
        
        [XmlElement("Error")]
        public string Error { get; set; }

        
        [XmlElement("ShipmentID")]
        public int ShipmentID { get; set; }

        
        [XmlElement("Origin")]
        public OriginLocation Origin { get; set; }

        
        [XmlElement("Destination")]
        public DestinationLocation Destination { get; set; }

        
        [XmlElement("Miles")]
        public decimal Miles { get; set; }

        
        [XmlArray("Classes")]
        public ShipmentClass[] Classes { get; set; }

        
        [XmlArray("Weights")]
        public ShipmentWeight[] Weights { get; set; }

        
        [XmlElement("Pallets")]
        public Pallet[] Pallets { get; set; }

        
        [XmlElement("cube")]
        public int Cube { get; set; }

        
        [XmlElement("pcf")]
        public int Pcf { get; set; }

        
        [XmlArray("Carriers")]
        public Carrier[] Carriers{ get; set; }

        
    }

    
}
